




#import "JinXViewController.h"
#define Url_Jin @"http://forum.app.autohome.com.cn/autov4.8.8/forum/club/topiccontent-a2-pm1-v4.8.9-t%d-o0-p1-s20-c1-nt0-fs0-sp0-al0-cw320-rct1.json"
@interface JinXViewController ()
{
    
    
    UIWebView *_JinWebView;
    NSString *_url;
}
@end

@implementation JinXViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self setWebView];
    
}
-(void)setWebView
{
    _JinWebView=[[UIWebView alloc]initWithFrame:CGRectMake(0,64 , self.view.frame.size.width, self.view.frame.size.height-100)];
    
    
    NSURLRequest *request=[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:Url_Jin,self.topid]]];
    
    [self.view addSubview:_JinWebView];
    [_JinWebView loadRequest:request];
    
    
}
- (IBAction)back:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
